home *** CD-ROM | disk | FTP | other *** search
/ IRIX 6.5 Complementary Applications 2004 February / SGI IRIX 6.5 Complementary Applications 2004 February.iso / dist / cde.idb / usr / dt / share / include / Xm / FrameP.h.z / FrameP.h
Encoding:
C/C++ Source or Header  |  2003-11-18  |  3.1 KB  |  131 lines

  1. /*
  2.  * FrameP.h
  3.  *
  4.  * Copyright 2000, Silicon Graphics, Inc.
  5.  * ALL RIGHTS RESERVED
  6.  * 
  7.  * UNPUBLISHED -- Rights reserved under the copyright laws of the United
  8.  * States.   Use of a copyright notice is precautionary only and does not
  9.  * imply publication or disclosure.
  10.  *
  11.  * U.S. GOVERNMENT RESTRICTED RIGHTS LEGEND:
  12.  * Use, duplication or disclosure by the Government is subject to restrictions
  13.  * as set forth in FAR 52.227.19(c)(2) or subparagraph (c)(1)(ii) of the Rights
  14.  * in Technical Data and Computer Software clause at DFARS 252.227-7013 and/or
  15.  * in similar or successor clauses in the FAR, or the DOD or NASA FAR
  16.  * Supplement.  Contractor/manufacturer is Silicon Graphics, Inc.,
  17.  * 2011 N. Shoreline Blvd. Mountain View, CA 94039-7311.
  18.  *
  19.  * THE CONTENT OF THIS WORK CONTAINS CONFIDENTIAL AND PROPRIETARY
  20.  * INFORMATION OF SILICON GRAPHICS, INC. ANY DUPLICATION, MODIFICATION,
  21.  * DISTRIBUTION, OR DISCLOSURE IN ANY FORM, IN WHOLE, OR IN PART, IS STRICTLY
  22.  * PROHIBITED WITHOUT THE PRIOR EXPRESS WRITTEN PERMISSION OF SILICON
  23.  * GRAPHICS, INC.
  24.  */
  25. /* 
  26.  * @OSF_COPYRIGHT@
  27.  * (c) Copyright 1990, 1991, 1992, 1993, 1994 OPEN SOFTWARE FOUNDATION, INC.
  28.  * ALL RIGHTS RESERVED
  29.  *  
  30. */ 
  31. /*
  32.  * HISTORY
  33.  * Motif Release 1.2.5
  34. */
  35. /*   $XConsortium: FrameP.h /main/cde1_maint/2 1995/08/18 19:05:26 drk $ */
  36. /*
  37. *  (c) Copyright 1987, 1988, 1989, 1990, 1991, 1992 HEWLETT-PACKARD COMPANY */
  38. #ifndef _XmFrameP_h
  39. #define _XmFrameP_h
  40.  
  41. #include <Xm/Frame.h>
  42. #include <Xm/ManagerP.h>
  43.  
  44. #ifdef __cplusplus
  45. extern "C" {
  46. #endif
  47.  
  48.  
  49.  
  50. /* Full class records */
  51.  
  52. typedef struct
  53. {
  54.    XtPointer extension;
  55. } XmFrameClassPart;
  56.  
  57. typedef struct _XmFrameClassRec
  58. {
  59.    CoreClassPart       core_class;
  60.    CompositeClassPart  composite_class;
  61.    ConstraintClassPart constraint_class;
  62.    XmManagerClassPart  manager_class;
  63.    XmFrameClassPart    frame_class;
  64. } XmFrameClassRec;
  65.  
  66. externalref XmFrameClassRec xmFrameClassRec;
  67.  
  68.  
  69. /*  Frame instance records  */
  70.  
  71. typedef struct
  72. {
  73.    Dimension margin_width;
  74.    Dimension margin_height;
  75.    unsigned char shadow_type;
  76.    Dimension old_width;
  77.    Dimension old_height;
  78.    Dimension old_shadow_thickness;
  79.    Position old_shadow_x;
  80.    Position old_shadow_y;
  81.    Widget work_area;
  82.    Widget title_area;
  83.    Boolean processing_constraints;
  84. } XmFramePart;
  85.  
  86. typedef struct _XmFrameRec
  87. {
  88.     CorePart       core;
  89.     CompositePart  composite;
  90.     ConstraintPart constraint;
  91.     XmManagerPart  manager;
  92.     XmFramePart    frame;
  93. } XmFrameRec;
  94.  
  95.  
  96. /*  Frame constraint records  */
  97.  
  98. typedef struct _XmFrameConstraintPart
  99. {
  100.    int unused;
  101.    unsigned char child_type;
  102.    unsigned char child_h_alignment;
  103.    Dimension child_h_spacing;
  104.    unsigned char child_v_alignment;
  105. } XmFrameConstraintPart, * XmFrameConstraint;
  106.  
  107. typedef struct _XmFrameConstraintRec
  108. {
  109.    XmManagerConstraintPart manager;
  110.    XmFrameConstraintPart   frame;
  111. } XmFrameConstraintRec, * XmFrameConstraintPtr;
  112.  
  113.  
  114. /********    Private Function Declarations    ********/
  115. #ifdef _NO_PROTO
  116.  
  117.  
  118. #else
  119.  
  120.  
  121. #endif /* _NO_PROTO */
  122. /********    End Private Function Declarations    ********/
  123.  
  124.  
  125. #ifdef __cplusplus
  126. }  /* Close scope of 'extern "C"' declaration which encloses file. */
  127. #endif
  128.  
  129. #endif /* _XmFrameP_h */
  130. /* DON'T ADD ANYTHING AFTER THIS #endif */
  131.